//
//  RadioCollectionViewCell.m
//  GSG
//
//  Created by gaox on 15/4/23.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "RadioCollectionViewCell.h"

@implementation RadioCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 110, 110)];
        self.myImageView.layer.cornerRadius = 15;
        self.myImageView.clipsToBounds = YES;
        self.myImageView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"button1.jpg"]];
        [self.contentView addSubview:self.myImageView];
        [_myImageView release];
        
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(35, 25, 50, 30)];
        self.myLabel.numberOfLines = 2;
        self.myLabel.font = [UIFont systemFontOfSize:20];
        self.myLabel.textColor = [UIColor whiteColor];
        [self.myImageView addSubview:self.myLabel];
        [_myLabel release];
        
        
        self.quantityLabel = [[UILabel alloc] initWithFrame:CGRectMake(30, 50, 60, 40)];
        self.quantityLabel.numberOfLines = 2;
        self.quantityLabel.textColor = [UIColor whiteColor];
        [self.myImageView addSubview:self.quantityLabel];
        [_quantityLabel release];
        
        
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    
    
}

@end
